package com.yby.dome8;

/**
 * 毛毛虫类
 */
public class Caterpillar extends Animal{
    public void eat(){
        System.out.println(name+"一般吃树叶等植被型叶茎");
    }
}
